package com.financing.wap.dao;


import java.sql.SQLException;
import java.util.List;

import com.financing.wap.dto.DstUserArticleCategoriesDTO;
import com.financing.wap.vo.UserArticleInfoCategoriesVO;
/**
 * dst_user_article_categories  
 * 用户关联分类和喜爱分类 数据访问层接口
 * @author huqiyun
 *
 */
public interface IDstUserArticleCategoriesDao extends IBaseDao<DstUserArticleCategoriesDTO, Integer> {

 	public int insert(DstUserArticleCategoriesDTO dstUserArticleCategories) throws SQLException;
    
    public void update(DstUserArticleCategoriesDTO dstUserArticleCategories) throws SQLException;
   
    public void updateForce(DstUserArticleCategoriesDTO dstUserArticleCategories) throws SQLException;
   
    public void delete(Integer id) throws SQLException;
	
    public List<DstUserArticleCategoriesDTO> queryList(DstUserArticleCategoriesDTO dstUserArticleCategories)throws SQLException;
    
    public int queryListCount(DstUserArticleCategoriesDTO dstUserArticleCategories) throws SQLException;
   
    public DstUserArticleCategoriesDTO loadById(Integer id) throws SQLException;
  
    public List<UserArticleInfoCategoriesVO> queryAllCategoriesByOpenId(String openid) throws SQLException;
    
}
